package test01;

public class demo09 {
    public static void main(String[] args) {
        double sum=0;
        int count=0;
        while (sum<10){
            count++;
            sum+=1.0/count;
        }
        System.out.println("从第"+count+"项开始，和大于10");
    }
}
